Overlay description ...


Properties


Valid

Whether Overlay is Valid


X

int X

X Position of Overlay


Y

int Y

Y Position of Overlay


Methods


CreateGraphical

static Overlay CreateGraphical(int x, int y, int slot, bool transparent)

Creates a screen overlay containing a copy of the image from SLOT in the Sprite Manager. The image is placed at (X,Y) on the screen (these are screen co-ordinates, not room co-ordinates).


CreateTextual

static Overlay CreateTextual(int x, int y, int val, FontType font, int big, string buf)  
static Overlay CreateTextual(int x, int y, int val, FontType font, int big, string buf, string bufferID)

Create Text Overlay. Also pass in buffer ID so it can be re-used.


Remove

void Remove()

Remove Overlay


SetText

void SetText(int width, int font, int color, string text)

Set Text within Overlay